package com.itheima.date;

import java.awt.print.Printable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Test1 {
    public static void main(String[] args) throws ParseException {
        String birthday = "2000-11-11";
        SimpleDateFormat sdf1 =new SimpleDateFormat("yyyy-MM-dd");
        Date d = sdf1.parse(birthday);
        SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy年MM月dd日");
        String newBirthday = sdf2.format(d);
        System.out.println(newBirthday);

    }
}
